Einhugur macOS Bridge plugin.

EinhuguriOSBridge.UIImage Class (iOS)

Representation of iOS UIImage object.

The object has been wrapped to make it easy to use UIImage with Xojo API’s and Einhugur API’s.

The object can be used by it self, or with UIImage coming from Declare in Xojo, or with UIImage coming from 3rd party plugin (if they can provide Integer based handle to the UIImage).

The object will be automatically released like any other Xojo object. Do not manually use the Release method unless you have done something externally to the UIImage, with other plugin or declares that might call for release.

EinhugurCoreBridge.NSObject
   UIImage

class EinhuguriOSBridge.UIImage

Constructors

UIImage (private) Private constructor, use the shared method creators to create instance of this class.

Properties

ClassName (Inherited) (desktop - console) Returns the name of the Cocoa class under the hood as String.
Handle (Inherited) Returns Integer handle to the native NSObject structure.
HeightReturns height of the UIImage.
ScaleReturns the scale factor of the image.
WidthReturns width of the UIImage.

Methods

shared CastDoes deep cast on incoming NSObject to UIImage.
DrawDraws the UIImage into Xojo Graphics object at given x,y location.
DrawDraws the UIImage into Xojo Graphics object at given x,y location, taking in additionally width and height parameters.
shared FromCGImageCreates UIImage from a given CGImage.
shared FromIntegerPtrConstructs UIImage object from Integer handle coming from declares or 3rd party plugin.
shared FromNamedImageCreates an image object from the specified named asset.
shared FromSystemNamedImageCreates an image object that contains a system symbol image.
Release (Inherited) Releases the NSObject.
Retain (Inherited) Retains the NSObject
ToPictureConverts the UIImage to Xojo picture object.

Constants

Version = 5.0 (Inherited)

Supported Platforms:

  • iOS
  • Unsupported Platforms:

  • macOS Intel 64 bit
  • macOS Apple Silicon
  • Windows 32 bit
  • Windows 64 bit
  • Windows ARM 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM 32 bit
  • Linux ARM 64 bit